package com.yykj.hospital.server.model.repository.bank;

import com.yykj.hospital.server.model.entity.bank.DoctorBankCashApply;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorBankCashApplyRepository extends JpaRepository<DoctorBankCashApply, String>,
        JpaSpecificationExecutor<DoctorBankCashApply> {
    DoctorBankCashApply findByOrderNo(String orderNo);
    List<DoctorBankCashApply> findAllByOrderNoIn(List<String> orderNo);
}
